/* CSS /* ZÁKLADNÍ NASTAVENÍ */
/* ZÁKLADNÍ NASTAVENÍ */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #e5e7eb;
    color: #111827;
    line-height: 1.5;
}

/* HLAVIČKA – tmavý pruh s tenkou linkou dole */
header {
    background: #111827;
    color: #f9fafb;
    text-align: center;
    padding: 1.5rem 0.5rem 1rem;
    border-bottom: 4px solid #facc15;
}

header h1 {
    font-size: 2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

header p {
    font-size: 0.95rem;
    opacity: 0.85;
}

/* MENU – uprostřed, podobně jako na screenech */
nav {
    background: #111827;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    border-top: 1px solid #1f2937;
}

nav li {
    margin: 0;
}

nav a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: #e5e7eb;
    text-decoration: none;
    font-size: 0.95rem;
}

nav a:hover,
nav a.active {
    background: #1f2937;
}

/* HLAVNÍ OBSAH – „karta“ uprostřed stránky */
main {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1rem 3rem;
}

section {
    background: #ffffff;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 15px 25px rgba(15, 23, 42, 0.12);
    margin-bottom: 1.5rem;
}

/* Nadpis sekce – linka pod textem jako na screenu */
h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
}

h2::after {
    content: "";
    display: block;
    height: 2px;
    background: #111827;
    margin-top: 0.5rem;
}

/* Další nadpisy */
h3 {
    font-size: 1.15rem;
    margin: 1rem 0 0.5rem;
    font-weight: 600;
}

/* TEXT + SEZNAMY */
p {
    margin-bottom: 0.6rem;
}

ul, ol {
    margin-left: 1.2rem;
    margin-bottom: 0.5rem;
}

li {
    margin-bottom: 0.25rem;
}

/* TABULKY – vzhled jako v „Dějové rozdíly“ */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

thead {
    background: #111827;
    color: #f9fafb;
}

th, td {
    padding: 0.55rem 0.6rem;
    border: 1px solid #e5e7eb;
    text-align: left;
}

tbody tr:nth-child(even) {
    background: #f9fafb;
}

/* OBRÁZKY – jednoduchá galerie */
.image-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

figure {
    flex: 1 1 200px;
    text-align: center;
}

figure img {
    width: 100%;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}

figcaption {
    font-size: 0.85rem;
    margin-top: 0.25rem;
    color: #4b5563;
}

/* FORMULÁŘ */
.simple-form {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.simple-form label {
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.simple-form input,
.simple-form textarea {
    padding: 0.45rem;
    border-radius: 4px;
    border: 1px solid #d1d5db;
    font-family: inherit;
    font-size: 0.95rem;
}

.simple-form button {
    width: fit-content;
    padding: 0.45rem 1rem;
    border-radius: 4px;
    border: none;
    background: #facc15;
    color: #111827;
    font-weight: 700;
    cursor: pointer;
    margin-top: 0.3rem;
}

.simple-form button:hover {
    background: #eab308;
}

/* KLIKACÍ MAPA – zarovnání a info box */
.map-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: flex-start;
    margin-top: 0.5rem;
}

.body-map {
    width: 180px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
}

.map-area {
    cursor: pointer;
}

.map-area:hover {
    opacity: 0.8;
}

.map-info {
    flex: 1 1 220px;
    background: #eff6ff;
    border-left: 4px solid #2563eb;
    padding: 0.9rem 1rem;
    border-radius: 6px;
    font-size: 0.95rem;
}

/* PATIČKA */
footer {
    text-align: center;
    padding: 1rem 0.5rem 1.5rem;
    font-size: 0.85rem;
    color: #6b7280;
}

/* RESPONSIVITA */
@media (max-width: 700px) {
    main {
        margin-top: 1.5rem;
    }

    section {
        padding: 1.2rem 1.1rem;
    }

    nav ul {
        flex-direction: column;
    }

    nav a {
        text-align: center;
    }

    .map-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .body-map {
        margin: 0 auto;
    }
}
